<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">

	<title>index</title>

	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

	<link rel="stylesheet" href="/layui/css/layui.css" media="all">
	<script src="/layui/layui.js" charset="utf-8"></script>

	<style>
		.box {
			width: 1400px;
			margin: 0 auto;
		}
	</style>
</head>

<body>
	<br><br>

	<div class="box">
		<div style="color: blueviolet;font-size: 17px;">
			1. 修改表信息(模块,包名,作者,是否移除前缀等信息....)<br><br>
			2. 配置表的字段信息
			<br><br>
			<a href="/init.html" class="layui-btn">添加表</a>
			<a href="" class="layui-btn">生成代码</a>
		</div>
		<table class="layui-table" border="1">
			<colgroup>
				<col width="150">
				<col width="200">
				<col>
			</colgroup>
			<thead lay-size="lg">
				<tr>
					<th>编号</th>
					<th>表名</th>
					<th>类名</th>
					<th>所属模块</th>
					<th>包名</th>
					<th>作者名</th>
					<th>是否移除前缀</th>
					<th>表描述</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<#if list??>
					<#list list as t>
						<tr>
							<td>${t?index + 1}</td>
							<td>${t.tableName!}</td>
							<td>${t.className!}</td>
							<td>${t.modular!}</td>
							<td>${t.packageName!}</td>
							<td>${t.authorName!}</td>
							<td>
								<#if t.tablePrefix==1>
									移除
									<#else>
										不移除
								</#if>
							</td>
							<td>${t.remark!}</td>
							<td>
								<a href="/configView.html?table=${t.tableName!}">配置表信息</a>
							</td>
						</tr>
					</#list>

					<#else>
						<tr>
							<td colspan="8"
								style="color: rgb(0, 0, 255); font-size: 17px;text-align: center;padding: 20px;">暂无数据,
								请先添加需要生成代码的表信息...</td>
						</tr>
				</#if>
			</tbody>
		</table>
	</div>

</body>

</html>